// "Copyright [2021] <Copyright Shengkai Lin>"

// This is a message defination file aims to 
// compatible with inet.

class ai_sim::Flow {
    @existingClass;
};

cplusplus{{
    #include "basic.h"
}}

import inet.common.INETDefs;
import inet.common.TagBase;
import inet.common.packet.chunk.Chunk;

namespace inet;

class RoceMsg extends inet::FieldsChunk {
    ai_sim::Flow the_flow;
    int kind;
    int sequenceNum = -1;
    bool isLastSegment;
}

class FlowTag extends inet::TagBase
{
    ai_sim::Flow the_flow;
    int kind;
}

message CheckSendMsg extends cPacket {
    int dst;
}
